package com.project.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.project.entity.SysOrderDetail;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author wangsihan
 * @since 2021-10-08
 */
@Mapper
public interface SysOrderDetailMapper extends BaseMapper<SysOrderDetail> {

    /**
     * 添加订单明细
     *
     * @param orderDetail
     */
    public void addOrderDetail(@Param("orderDetail") SysOrderDetail orderDetail, @Param("orderId") int orderId);
}
